package cn.com.nes.site.controller.demo;

import cn.com.nes.site.entity.PageData;
import cn.com.nes.site.entity.vo.demo.ParamterCheckVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * 参数校验Demo接口
 */
@Slf4j
@RestController()
@RequestMapping("/v2/demo/check")
public class ParameterCheckDemoController {


    /**
     * 参数校验接口
     * @param paramterCheckVo
     * @return
     * @throws Exception
     */
    @RequestMapping(value = "/parameterCheck", method = RequestMethod.GET)
    public PageData parameterCheck(@RequestBody ParamterCheckVo paramterCheckVo) throws Exception {
        return PageData.ok();
    }

}
